/**
 * 
 */
package com.ch03.UserTxn;
import java.util.*;
import com.ch03.TransactionTypeEnum.*;

/**
 * @author Swetha
 *
 */
 
public class UserTransaction {
	
	private GregorianCalendar transactionDate;
	private double transactionAmt;
	private TransactionType transactionType;
	
	public UserTransaction()
	{
		transactionDate = null;
		transactionAmt = 0.0;
	}
	
	public UserTransaction(GregorianCalendar tranDate, double tranAmt, TransactionType tranType)
	{
		transactionDate = tranDate;
		transactionAmt = tranAmt;
		transactionType = tranType;
	}

	public GregorianCalendar getTransactionDate() {
		return transactionDate;
	}

	public void setTransactionDate(GregorianCalendar transactionDate) {
		this.transactionDate = transactionDate;
	}

	public double getTransactionAmt() {
		return transactionAmt;
	}

	public void setTransactionAmt(double transactionAmt) {
		this.transactionAmt = transactionAmt;
	}
	
	public TransactionType getTransactionType() {
		return transactionType;
	}
	
	public void setTransacationType(TransactionType ttype) {
		transactionType = ttype;
	}
} 
